﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping assembly="Sirocco" namespace="Sirocco.Data.Entity" xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
  <class name="Country" table="Country">
    <id name="Id" type="long" column="Id" unsaved-value="-1">
      <generator class="hilo" >
        <param name="table">HiloCountry</param>
        <param name="column">next_hi</param>
        <param name="max_lo">10000000</param>
      </generator>
    </id>
    <property name="Code" column="Code" not-null="true" type="System.String" length="2" insert="true" update="true" />
    <property name="Name" column="Name" not-null="true" type="System.String" length="10" insert="true" update="true" />
  </class>
</hibernate-mapping>